/**
 * A PhoneixNest figure. extends Building.
 * This class represent PhoneixNest figure. any unit created from this 
 * building would be a phonix according to the production rate and position.
 * @authors Itay Sorani, Nadav Ziv, Yonathan Zarsky
 */
package com.example.models.Buildings;

import android.content.Context;

import com.example.models.Building;

public class PhoneixNest extends Building {

	private static final int PHONEIX_NEST_COST = 20;
	private static final int PHONEIX_NEST_PRODUCTION_RATE = 2;
	private static final String PHONEIX_NEST_NAME = "PhoneixNest";
	
	/**
     * Constructs a new PhoneixNest with the right production rate, name and cost.
     */
	public PhoneixNest(Context context) {
		super(context);
		setProductionRate(PHONEIX_NEST_PRODUCTION_RATE * 40);
		setName(PHONEIX_NEST_NAME);
		setCost(PHONEIX_NEST_COST);
	}
	
}
 


